<!-- <template>
  <el-tree
      ref="elTree"
      v-bind="$attrs"
      v-on="$listeners"
      :default-expand-all="defaultExpandAll"
  >
    <template v-for="(index, name) in $slots" :slot="name">
      <slot :name="name"></slot>
    </template>
  </el-tree>
</template> -->

<script>
import ElTree from "element-ui/packages/tree/src/tree";
export default {
  name: "MTree",
  data() {
    return {};
  },
  components: {},
  props: {
    defaultExpandAll: {
      type: Boolean,
      default: true,
    },
    expandOnClickNode: {
      type: Boolean,
      default: false
    },
    highlightCurrent:{
      type: Boolean,
      default: true
    },
    checkStrictly:{
      type: Boolean,
      default: false
    },
  },
  extends: ElTree,
  mounted() {},
  methods: {},
};
</script>

<style lang="scss">
@import "@/MUI/style/var.scss";
.el-tree{
   .el-tree-node__content {
    height: 32px;
  }
  .el-tree-node.is-current>.el-tree-node__content{
    color: $mainColor;
  }
}

</style>
